<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService.override">

  <require>org.nuxeo.ecm.platform.audit.service.NXAuditEventsService</require>

  <documentation>

    Service that deals with audit.
    <p/>

    Most of the work is done at EJB layer though.

    This supports JMS events based
    notifications on a dedicated topic.

    @version 1.0
    @author Julien Anguenot
  

  </documentation>
  <extension point="event" target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService">
    <documentation>
      Those default auditable events match Nuxeo core base events.
      <p/>
      If you are sending new Nuxeo core events and want them audited, this is
      the place to declare them NXAudit side.
    </documentation>

    <event name="documentCreated"/>
    <event name="documentCreatedByCopy"/>
    <event name="documentDuplicated"/>
    <event name="documentMoved"/>
    <event name="documentRemoved"/>
    <event name="documentModified"/>
    <event name="documentLocked"/>
    <event name="documentUnlocked"/>
    <event name="documentSecurityUpdated"/>
    <event name="retentionActiveChanged"/>
    <event name="lifecycle_transition_event"/>
    <event name="loginSuccess"/>
    <event name="loginFailed"/>
    <event name="logout"/>
    <event name="documentCheckedIn"/>
    <event name="proxyRemoved"/>
    <event name="versionRemoved"/>
    <event name="documentProxyPublished"/>
    <event name="sectionContentPublished"/>
    <event name="documentRestored"/>
    <event name="download"/>
    <event name="documentTrashed"/>
    <event name="documentUntrashed"/>
    <event name="addedToCollection"/>
    <event name="removedFromCollection"/>
    <event name="afterMakeRecord"/>
    <event name="afterSetRetention"/>
    <event name="afterExtendRetention"/>
    <event name="retentionExpired"/>
    <event name="afterSetLegalHold"/>
    <event name="afterRemoveLegalHold"/>
    <event name="blobDigestUpdated"/>
  </extension>

</component>
